Integrand size = 23, antiderivative size = 213 \[ \int x^2 (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right ) \, dx=-\frac {32 b d^4 n \sqrt {d+e x}}{315 e^3}-\frac {32 b d^3 n (d+e x)^{3/2}}{945 e^3}-\frac {32 b d^2 n (d+e x)^{5/2}}{1575 e^3}+\frac {44 b d n (d+e x)^{7/2}}{441 e^3}-\frac {4 b n (d+e x)^{9/2}}{81 e^3}+\frac {32 b d^{9/2} n \text {arctanh}\left (\frac {\sqrt {d+e x}}{\sqrt {d}}\right )}{315 e^3}+\frac {2 d^2 (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3}-\frac {4 d (d+e x)^{7/2} \left (a+b \log \left (c x^n\right )\right )}{7 e^3}+\frac {2 (d+e x)^{9/2} \left (a+b \log \left (c x^n\right )\right )}{9 e^3} \]
[Out]
Time = 0.16 (sec) , antiderivative size = 213, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.261, Rules used = {45, 2392, 12, 911, 1275, 214} \[ \int x^2 (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right ) \, dx=\frac {2 d^2 (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3}-\frac {4 d (d+e x)^{7/2} \left (a+b \log \left (c x^n\right )\right )}{7 e^3}+\frac {2 (d+e x)^{9/2} \left (a+b \log \left (c x^n\right )\right )}{9 e^3}+\frac {32 b d^{9/2} n \text {arctanh}\left (\frac {\sqrt {d+e x}}{\sqrt {d}}\right )}{315 e^3}-\frac {32 b d^4 n \sqrt {d+e x}}{315 e^3}-\frac {32 b d^3 n (d+e x)^{3/2}}{945 e^3}-\frac {32 b d^2 n (d+e x)^{5/2}}{1575 e^3}+\frac {44 b d n (d+e x)^{7/2}}{441 e^3}-\frac {4 b n (d+e x)^{9/2}}{81 e^3} \]
[In]
[Out]
Rule 12
Rule 45
Rule 214
Rule 911
Rule 1275
Rule 2392
Rubi steps \begin{align*} \text {integral}& = \frac {2 d^2 (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3}-\frac {4 d (d+e x)^{7/2} \left (a+b \log \left (c x^n\right )\right )}{7 e^3}+\frac {2 (d+e x)^{9/2} \left (a+b \log \left (c x^n\right )\right )}{9 e^3}-(b n) \int \frac {2 (d+e x)^{5/2} \left (8 d^2-20 d e x+35 e^2 x^2\right )}{315 e^3 x} \, dx \\ & = \frac {2 d^2 (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3}-\frac {4 d (d+e x)^{7/2} \left (a+b \log \left (c x^n\right )\right )}{7 e^3}+\frac {2 (d+e x)^{9/2} \left (a+b \log \left (c x^n\right )\right )}{9 e^3}-\frac {(2 b n) \int \frac {(d+e x)^{5/2} \left (8 d^2-20 d e x+35 e^2 x^2\right )}{x} \, dx}{315 e^3} \\ & = \frac {2 d^2 (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3}-\frac {4 d (d+e x)^{7/2} \left (a+b \log \left (c x^n\right )\right )}{7 e^3}+\frac {2 (d+e x)^{9/2} \left (a+b \log \left (c x^n\right )\right )}{9 e^3}-\frac {(4 b n) \text {Subst}\left (\int \frac {x^6 \left (63 d^2-90 d x^2+35 x^4\right )}{-\frac {d}{e}+\frac {x^2}{e}} \, dx,x,\sqrt {d+e x}\right )}{315 e^4} \\ & = \frac {2 d^2 (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3}-\frac {4 d (d+e x)^{7/2} \left (a+b \log \left (c x^n\right )\right )}{7 e^3}+\frac {2 (d+e x)^{9/2} \left (a+b \log \left (c x^n\right )\right )}{9 e^3}-\frac {(4 b n) \text {Subst}\left (\int \left (8 d^4 e+8 d^3 e x^2+8 d^2 e x^4-55 d e x^6+35 e x^8+\frac {8 d^5}{-\frac {d}{e}+\frac {x^2}{e}}\right ) \, dx,x,\sqrt {d+e x}\right )}{315 e^4} \\ & = -\frac {32 b d^4 n \sqrt {d+e x}}{315 e^3}-\frac {32 b d^3 n (d+e x)^{3/2}}{945 e^3}-\frac {32 b d^2 n (d+e x)^{5/2}}{1575 e^3}+\frac {44 b d n (d+e x)^{7/2}}{441 e^3}-\frac {4 b n (d+e x)^{9/2}}{81 e^3}+\frac {2 d^2 (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3}-\frac {4 d (d+e x)^{7/2} \left (a+b \log \left (c x^n\right )\right )}{7 e^3}+\frac {2 (d+e x)^{9/2} \left (a+b \log \left (c x^n\right )\right )}{9 e^3}-\frac {\left (32 b d^5 n\right ) \text {Subst}\left (\int \frac {1}{-\frac {d}{e}+\frac {x^2}{e}} \, dx,x,\sqrt {d+e x}\right )}{315 e^4} \\ & = -\frac {32 b d^4 n \sqrt {d+e x}}{315 e^3}-\frac {32 b d^3 n (d+e x)^{3/2}}{945 e^3}-\frac {32 b d^2 n (d+e x)^{5/2}}{1575 e^3}+\frac {44 b d n (d+e x)^{7/2}}{441 e^3}-\frac {4 b n (d+e x)^{9/2}}{81 e^3}+\frac {32 b d^{9/2} n \tanh ^{-1}\left (\frac {\sqrt {d+e x}}{\sqrt {d}}\right )}{315 e^3}+\frac {2 d^2 (d+e x)^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3}-\frac {4 d (d+e x)^{7/2} \left (a+b \log \left (c x^n\right )\right )}{7 e^3}+\frac {2 (d+e x)^{9/2} \left (a+b \log \left (c x^n\right )\right )}{9 e^3} \\ \end{align*}
Time = 0.15 (sec) , antiderivative size = 153, normalized size of antiderivative = 0.72 \[ \int x^2 (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right ) \, dx=\frac {2 \left (5040 b d^{9/2} n \text {arctanh}\left (\frac {\sqrt {d+e x}}{\sqrt {d}}\right )+\sqrt {d+e x} \left (315 a (d+e x)^2 \left (8 d^2-20 d e x+35 e^2 x^2\right )-2 b n \left (2614 d^4-677 d^3 e x+429 d^2 e^2 x^2+2425 d e^3 x^3+1225 e^4 x^4\right )+315 b (d+e x)^2 \left (8 d^2-20 d e x+35 e^2 x^2\right ) \log \left (c x^n\right )\right )\right )}{99225 e^3} \]
[In]
[Out]
\[\int x^{2} \left (e x +d \right )^{\frac {3}{2}} \left (a +b \ln \left (c \,x^{n}\right )\right )d x\]
[In]
[Out]
none
Time = 0.34 (sec) , antiderivative size = 496, normalized size of antiderivative = 2.33 \[ \int x^2 (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right ) \, dx=\left [\frac {2 \, {\left (2520 \, b d^{\frac {9}{2}} n \log \left (\frac {e x + 2 \, \sqrt {e x + d} \sqrt {d} + 2 \, d}{x}\right ) - {\left (5228 \, b d^{4} n - 2520 \, a d^{4} + 1225 \, {\left (2 \, b e^{4} n - 9 \, a e^{4}\right )} x^{4} + 50 \, {\left (97 \, b d e^{3} n - 315 \, a d e^{3}\right )} x^{3} + 3 \, {\left (286 \, b d^{2} e^{2} n - 315 \, a d^{2} e^{2}\right )} x^{2} - 2 \, {\left (677 \, b d^{3} e n - 630 \, a d^{3} e\right )} x - 315 \, {\left (35 \, b e^{4} x^{4} + 50 \, b d e^{3} x^{3} + 3 \, b d^{2} e^{2} x^{2} - 4 \, b d^{3} e x + 8 \, b d^{4}\right )} \log \left (c\right ) - 315 \, {\left (35 \, b e^{4} n x^{4} + 50 \, b d e^{3} n x^{3} + 3 \, b d^{2} e^{2} n x^{2} - 4 \, b d^{3} e n x + 8 \, b d^{4} n\right )} \log \left (x\right )\right )} \sqrt {e x + d}\right )}}{99225 \, e^{3}}, -\frac {2 \, {\left (5040 \, b \sqrt {-d} d^{4} n \arctan \left (\frac {\sqrt {e x + d} \sqrt {-d}}{d}\right ) + {\left (5228 \, b d^{4} n - 2520 \, a d^{4} + 1225 \, {\left (2 \, b e^{4} n - 9 \, a e^{4}\right )} x^{4} + 50 \, {\left (97 \, b d e^{3} n - 315 \, a d e^{3}\right )} x^{3} + 3 \, {\left (286 \, b d^{2} e^{2} n - 315 \, a d^{2} e^{2}\right )} x^{2} - 2 \, {\left (677 \, b d^{3} e n - 630 \, a d^{3} e\right )} x - 315 \, {\left (35 \, b e^{4} x^{4} + 50 \, b d e^{3} x^{3} + 3 \, b d^{2} e^{2} x^{2} - 4 \, b d^{3} e x + 8 \, b d^{4}\right )} \log \left (c\right ) - 315 \, {\left (35 \, b e^{4} n x^{4} + 50 \, b d e^{3} n x^{3} + 3 \, b d^{2} e^{2} n x^{2} - 4 \, b d^{3} e n x + 8 \, b d^{4} n\right )} \log \left (x\right )\right )} \sqrt {e x + d}\right )}}{99225 \, e^{3}}\right ] \]
[In]
[Out]
Time = 129.07 (sec) , antiderivative size = 643, normalized size of antiderivative = 3.02 \[ \int x^2 (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right ) \, dx=a d \left (\begin {cases} \frac {2 d^{2} \left (d + e x\right )^{\frac {3}{2}}}{3 e^{3}} - \frac {4 d \left (d + e x\right )^{\frac {5}{2}}}{5 e^{3}} + \frac {2 \left (d + e x\right )^{\frac {7}{2}}}{7 e^{3}} & \text {for}\: e \neq 0 \\\frac {\sqrt {d} x^{3}}{3} & \text {otherwise} \end {cases}\right ) + a e \left (\begin {cases} - \frac {2 d^{3} \left (d + e x\right )^{\frac {3}{2}}}{3 e^{4}} + \frac {6 d^{2} \left (d + e x\right )^{\frac {5}{2}}}{5 e^{4}} - \frac {6 d \left (d + e x\right )^{\frac {7}{2}}}{7 e^{4}} + \frac {2 \left (d + e x\right )^{\frac {9}{2}}}{9 e^{4}} & \text {for}\: e \neq 0 \\\frac {\sqrt {d} x^{4}}{4} & \text {otherwise} \end {cases}\right ) - b d n \left (\begin {cases} \frac {3112 d^{\frac {7}{2}} \sqrt {1 + \frac {e x}{d}}}{11025 e^{3}} + \frac {16 d^{\frac {7}{2}} \log {\left (\frac {e x}{d} \right )}}{105 e^{3}} - \frac {32 d^{\frac {7}{2}} \log {\left (\sqrt {1 + \frac {e x}{d}} + 1 \right )}}{105 e^{3}} - \frac {716 d^{\frac {5}{2}} x \sqrt {1 + \frac {e x}{d}}}{11025 e^{2}} + \frac {48 d^{\frac {3}{2}} x^{2} \sqrt {1 + \frac {e x}{d}}}{1225 e} + \frac {4 \sqrt {d} x^{3} \sqrt {1 + \frac {e x}{d}}}{49} & \text {for}\: e > -\infty \wedge e < \infty \wedge e \neq 0 \\\frac {\sqrt {d} x^{3}}{9} & \text {otherwise} \end {cases}\right ) + b d \left (\begin {cases} \frac {2 d^{2} \left (d + e x\right )^{\frac {3}{2}}}{3 e^{3}} - \frac {4 d \left (d + e x\right )^{\frac {5}{2}}}{5 e^{3}} + \frac {2 \left (d + e x\right )^{\frac {7}{2}}}{7 e^{3}} & \text {for}\: e \neq 0 \\\frac {\sqrt {d} x^{3}}{3} & \text {otherwise} \end {cases}\right ) \log {\left (c x^{n} \right )} - b e n \left (\begin {cases} - \frac {17552 d^{\frac {9}{2}} \sqrt {1 + \frac {e x}{d}}}{99225 e^{4}} - \frac {32 d^{\frac {9}{2}} \log {\left (\frac {e x}{d} \right )}}{315 e^{4}} + \frac {64 d^{\frac {9}{2}} \log {\left (\sqrt {1 + \frac {e x}{d}} + 1 \right )}}{315 e^{4}} + \frac {3736 d^{\frac {7}{2}} x \sqrt {1 + \frac {e x}{d}}}{99225 e^{3}} - \frac {724 d^{\frac {5}{2}} x^{2} \sqrt {1 + \frac {e x}{d}}}{33075 e^{2}} + \frac {64 d^{\frac {3}{2}} x^{3} \sqrt {1 + \frac {e x}{d}}}{3969 e} + \frac {4 \sqrt {d} x^{4} \sqrt {1 + \frac {e x}{d}}}{81} & \text {for}\: e > -\infty \wedge e < \infty \wedge e \neq 0 \\\frac {\sqrt {d} x^{4}}{16} & \text {otherwise} \end {cases}\right ) + b e \left (\begin {cases} - \frac {2 d^{3} \left (d + e x\right )^{\frac {3}{2}}}{3 e^{4}} + \frac {6 d^{2} \left (d + e x\right )^{\frac {5}{2}}}{5 e^{4}} - \frac {6 d \left (d + e x\right )^{\frac {7}{2}}}{7 e^{4}} + \frac {2 \left (d + e x\right )^{\frac {9}{2}}}{9 e^{4}} & \text {for}\: e \neq 0 \\\frac {\sqrt {d} x^{4}}{4} & \text {otherwise} \end {cases}\right ) \log {\left (c x^{n} \right )} \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 196, normalized size of antiderivative = 0.92 \[ \int x^2 (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right ) \, dx=-\frac {4}{99225} \, {\left (\frac {1260 \, d^{\frac {9}{2}} \log \left (\frac {\sqrt {e x + d} - \sqrt {d}}{\sqrt {e x + d} + \sqrt {d}}\right )}{e^{3}} + \frac {1225 \, {\left (e x + d\right )}^{\frac {9}{2}} - 2475 \, {\left (e x + d\right )}^{\frac {7}{2}} d + 504 \, {\left (e x + d\right )}^{\frac {5}{2}} d^{2} + 840 \, {\left (e x + d\right )}^{\frac {3}{2}} d^{3} + 2520 \, \sqrt {e x + d} d^{4}}{e^{3}}\right )} b n + \frac {2}{315} \, {\left (\frac {35 \, {\left (e x + d\right )}^{\frac {9}{2}}}{e^{3}} - \frac {90 \, {\left (e x + d\right )}^{\frac {7}{2}} d}{e^{3}} + \frac {63 \, {\left (e x + d\right )}^{\frac {5}{2}} d^{2}}{e^{3}}\right )} b \log \left (c x^{n}\right ) + \frac {2}{315} \, {\left (\frac {35 \, {\left (e x + d\right )}^{\frac {9}{2}}}{e^{3}} - \frac {90 \, {\left (e x + d\right )}^{\frac {7}{2}} d}{e^{3}} + \frac {63 \, {\left (e x + d\right )}^{\frac {5}{2}} d^{2}}{e^{3}}\right )} a \]
[In]
[Out]
\[ \int x^2 (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right ) \, dx=\int { {\left (e x + d\right )}^{\frac {3}{2}} {\left (b \log \left (c x^{n}\right ) + a\right )} x^{2} \,d x } \]
[In]
[Out]
Timed out. \[ \int x^2 (d+e x)^{3/2} \left (a+b \log \left (c x^n\right )\right ) \, dx=\int x^2\,\left (a+b\,\ln \left (c\,x^n\right )\right )\,{\left (d+e\,x\right )}^{3/2} \,d x \]
[In]
[Out]